﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.MedicalDomain
{
   public class RadiologyGroup
    {
        #region Properties
        public int ID { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public string Notes { get; set; } 
        #endregion

        #region ForeignKeyProperties
        [ForeignKey("Parent")]
        public int ParentID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual RadiologyGroup Parent { get; set; }
        public virtual ICollection<RadiologyGroup> Children { get; set; }
        public virtual ICollection<Radiology> Radiologies { get; set; }
        public virtual ICollection<RadiologyAttachment> Attachments { get; set; }
        #endregion

    }
}
